flutter copy to clipboard

72

import 'package:flutter/services.dart';

onTap: () {
  Clipboard.setData(ClipboardData(text: "your text"));
},
dependencies:
  clipboard: ^0.1.2+8

Comments

Submit
0 Comments